{%extends "admin/base-clean.html" %}

{%block main%}
<div class="error-page">
    <h2 class="headline text-danger">{{error.status_code}}</h2>
    <div class="error-content text-center">
        <h3 class="text-left"><i class="fas fa-exclamation-triangle text-danger"></i> {{error.title}}</h3>

        <p class="text-left">{{error.describe}}</p>

        <button type="button" class="btn bg-gradient-primary">返回上一页</button>
    </div>
</div>
{%endblock%}

{%block js%}
<script>
    $(function () {
        $('button').click(function () {
            window.history.back();
        });
    });
</script>
{%endblock%}